package com.chixing.service;

import com.chixing.pojo.Customer;
import com.chixing.util.ServerResponse;
import org.springframework.web.multipart.MultipartFile;

public interface CustomerService {
    public ServerResponse getById(Integer custId);
    public ServerResponse save(Customer customer);
    //public ServerResponse getBy(Integer shopId,String dishName);
    public ServerResponse login(Long custTelno, String custPassword) ;

    public ServerResponse save(Long consumerTel , String consumerPassword1);
    public ServerResponse regist(Long consumerTel);

    public ServerResponse getPublicKey();
    public String getPrivateKey();

    // 身份证转base64 调用接口
    public Object getPersonCard(MultipartFile multipartFile);

}